package com.penghaisoft.microwms.common.base.model;


import com.penghaisoft.microwms.common.BaseEntity;
import com.penghaisoft.microwms.common.util.CommonUtils;

/**
 * 业务用户数据权限表
 * @author zhangx
 */
public class BaseUserDataauthType extends BaseEntity {

	private String dataauthTypeId;//  主键
	private String normalUserBuzType;//  业务用户数据权限类型
	private String normalUserBuzTypeName;//  业务用户数据权限中文名
	private String tableName;//  表名
	private String columnCode;//  code列名
	private String columnName;//  name列名
	private String whereClause;//  筛选条件
	private String isComplex;//  1复杂0简单
	private String userSql;//  用户自定义sql

	@Override
	public void preInsert(){
		super.preInsert();
		setDataauthTypeId(CommonUtils.getUUID());
	}

	public String getDataauthTypeId(){
		return this.dataauthTypeId;
	}

	public void setDataauthTypeId(String value){
		this.dataauthTypeId=value;
	}
	public String getNormalUserBuzType(){
		return this.normalUserBuzType;
	}

	public void setNormalUserBuzType(String value){
		this.normalUserBuzType=value;
	}
	public String getNormalUserBuzTypeName(){
		return this.normalUserBuzTypeName;
	}

	public void setNormalUserBuzTypeName(String value){
		this.normalUserBuzTypeName=value;
	}
	public String getTableName(){
		return this.tableName;
	}

	public void setTableName(String value){
		this.tableName=value;
	}
	public String getColumnCode(){
		return this.columnCode;
	}

	public void setColumnCode(String value){
		this.columnCode=value;
	}
	public String getColumnName(){
		return this.columnName;
	}

	public void setColumnName(String value){
		this.columnName=value;
	}
	public String getWhereClause(){
		return this.whereClause;
	}

	public void setWhereClause(String value){
		this.whereClause=value;
	}
	public String getIsComplex(){
		return this.isComplex;
	}

	public void setIsComplex(String value){
		this.isComplex=value;
	}
	public String getUserSql(){
		return this.userSql;
	}

	public void setUserSql(String value){
		this.userSql=value;
	}

}

